Skip to content

feat(room-plan): smart spaces integration#334

Open
mschwrdtnr wants to merge 2 commits intomasterfrom
feat/smart-spaces-iframe
Open

feat(room-plan): smart spaces integration#334
mschwrdtnr wants to merge 2 commits intomasterfrom
feat/smart-spaces-iframe

Conversation

@mschwrdtnr
Copy link
Member

@mschwrdtnr mschwrdtnr commented Sep 27, 2019

This is a preparation for the integration of smart spaces.
Currently it will be only shown for floor "DDR7HausD24". I know that this is not the best solution but it's just a small test-case.
To test this pr you can remove *ngIf in the ng-container and add a smartspaces url to runtime-environment.ts.

Before this solutions goes live we need to add the url for smart-spaces into our environment-variables

Do not merge until the error on the smartspaces site is fixed.

@mschwrdtnr mschwrdtnr added feature An enhancement or a new functionality feature. BLOCKED This Issue is blocked. Have a look in the comments. labels Sep 27, 2019
@mmsgithub-ci
Copy link
Collaborator

Preview Environment ready at https://pr-334.demo-phonebook.me

host: &host 'example.com'
contactUrl: '<Your Contact Url, maybe an issue tracker?>'
roomPlanningToolUrl: '<Url to your Room Planning Tool>'
smartSpacesUrl: '<Url to your Smart Spaces Site>'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the variable in the table below?

<div class="svg-container" [style.display]="floorPlanSVG ? 'block' : 'none'" #floorplanSVG></div>
<!-- Container for Smart Spaces -->
<ng-container *ngIf="floorplan == 'DDR7HausD24' && runtimeEnvironment.smartSpacesUrl">
<mat-slide-toggle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should display it straight away, no asking or toggle required. Just fallback to the old roomplan if there is an error.

@DanielHabenicht
Copy link
Collaborator

@mschwrdtnr how is it going?

@DanielHabenicht
Copy link
Collaborator

For adding something to the runtime-environment.ts have a look at #429

@DanielHabenicht DanielHabenicht changed the title feat(room-plan): smart spaces integration TEST feat(room-plan): smart spaces integration Dec 2, 2019
@mschwrdtnr
Copy link
Member Author

@mschwrdtnr how is it going?

On my TODO-List, but will still not work because the known errors in smart-spaces application.

@paule96
Copy link
Collaborator

paule96 commented Apr 8, 2020

are there any updates to this? can someone continue the work?

@mschwrdtnr
Copy link
Member Author

mschwrdtnr commented Apr 8, 2020

@paule96 It still can't be implemented even if we resolve @DanielHabenicht suggestions, because the smart spaces application is not working for now. I wrote the accountable an email and he want to give me an info about the current state of his application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLOCKED This Issue is blocked. Have a look in the comments. feature An enhancement or a new functionality feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants